package com.electric.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 电压等级
 * </p>
 *
 * @author zhangbin
 * @since 2018-08-28
 */
@TableName("voltage_level")
public class VoltageLevel extends Model<VoltageLevel> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId("seq_id")
    private String seqId;
    /**
     * 电压值
     */
    private Integer value;


    public String getSeqId() {
        return seqId;
    }

    public void setSeqId(String seqId) {
        this.seqId = seqId;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    protected Serializable pkVal() {
        return this.seqId;
    }

    @Override
    public String toString() {
        return "VoltageLevel{" +
        ", seqId=" + seqId +
        ", value=" + value +
        "}";
    }
}
